package com.mask.userconsumer;

import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

@Component
public class UserProviderBack implements ConsumerApi {

    @Override
    public String alive() {
        return "降级了";
    }

    @Override
    public String getById(String name) {
        return null;
    }
}
